package br.ufmg.dcc.simulesspl.view;

import br.ufmg.dcc.simulesspl.model.ProjectCard;

public class ProjectCardView extends AbstractView {

	private ProjectCard projectCard;
	
	public ProjectCardView(ProjectCard pc)
	{
		projectCard = pc;
	}
	
	@Override
	public String toString() {
		//return String.format("BUDGET=%d\tSIZE=%d", projectCard.getBudget(), projectCard.getSize());
		return String.format("%s:"/** %s=%d\t%s=%d\t%s=%d"*/, i18n().str(projectCard.getName())/*, i18n().str("BUDGET"), projectCard.getBudget()*/, i18n().str("SIZE"), projectCard.getSize());
	}
}
